package com.java.abstractdemo;

public abstract class Person {
//
	private String personName;
	private int personAge;

//	
	public Person(String personName, int personAge) {
		super();
		this.personName = personName;
		this.personAge = personAge;
	}

	public Person() {
		super();

	}

//
	public abstract void doEating();

	public abstract void doThinking();

//
	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public int getPersonAge() {
		return personAge;
	}

	public void setPersonAge(int personAge) {
		this.personAge = personAge;
	}
}
